//
//  Person.h
//  OC07_内存管理
//
//  Created by Scott on 16/3/4.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface Person : NSObject <NSCopying>


@property (nonatomic, copy) NSString *name;


// 声明属性, 声明setter, getter方法.
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, assign) NSInteger age;


- (instancetype)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;

+ (instancetype)personWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;








@end
